﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" ValidateRequest="false" AutoEventWireup="true" CodeBehind="SanPham_Insert.aspx.cs" Inherits="WEBSITE_BANDEAL.Admin.SanPham_Insert" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="centercontent">
  <div class="pageheader">
    <h1 class="pagetitle">
        <asp:Literal ID="lit_title" runat="server"></asp:Literal>
    </h1>
    <ul class="hornav">
      <li class="current"><a href="#basicform">Thêm mới</a></li>
    </ul>
  </div>
  <!--pageheader-->
  
  <div id="contentwrapper" class="contentwrapper">
  
    <!--subcontent-->
    <div id="validation" class="subcontent">
      <form id="frm_category" class="stdform" method="post" action="#" runat="server">
        <p>
          <label>Tên</label>
          <span class="field">
          <input type="text" name="Ten" id="Ten" class="longinput"  value="" runat="server"/><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Vui lòng điền tên" ControlToValidate="Ten" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
          </span> </p>     
          <p>
          <label>Hình đại diện</label>
          <span class="field"><img src="" id="ViewHinh" alt="" width="140px" height="181px" /><br />
              <asp:TextBox ID="HinhAnh" ClientIDMode="Static" runat="server" CssClass="mediuminput" onchange="ChangeImage()"></asp:TextBox>
          <a class="btn btn_image" href="javascript:BrowseServer('Images:/','HinhAnh')" > <span>Chọn hình</span></a> </span><small style="font-size:14px;" class="desc">Click vào nút chọn hình để up hình hoặc dán link hình vào ô trống. Up hình với tỉ lệ width x height: 206x209; 602x602</small> <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ErrorMessage="Vui lòng điền chọn" ControlToValidate="HinhAnh" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator></p>
          <p>
          <label>Thuộc về loại</label>
          <span class="formwrapper">
              <asp:DropDownList ID="MA_LOAI_SP" runat="server" CssClass="chzn-select" ClientIDMode="Static" Width="350px"></asp:DropDownList>
          </span> <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Vui lòng điền chọn" ControlToValidate="MA_LOAI_SP" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator></p>

          <p>
          <label>Số lượng</label>
          <span class="field">
          <input type="text" name="SO_LUONG" id="SO_LUONG" class="smallinput"  value="" runat="server"/>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ErrorMessage="Vui lòng điền số lượng" ControlToValidate="SO_LUONG" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
          </span> </p>

          <p>
          <label>Giá gốc</label>
          <span class="field">
          <input type="text" name="GIA_GOC" id="GIA_GOC" class="smallinput"  value="" runat="server"/>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="Vui lòng điền giá gốc" ControlToValidate="GIA_GOC" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
          </span> </p>


          <p>
          <label>Giá bán</label>
          <span class="field">
          <input type="text" name="GIA_BAN" id="GIA_BAN" class="smallinput"  value="" runat="server"/>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ErrorMessage="Vui lòng điền giá bán" ControlToValidate="GIA_BAN" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
          </span> </p>

           <p>
          <label>TG bất đầu</label>
          <span class="field">
              <asp:TextBox ID="TG_BAT_DAU" runat="server" CssClass="smallinput" ClientIDMode="Static"></asp:TextBox>
             
          </span> </p>


           <p>
          <label>TG kết thúc</label>
          <span class="field">
              <asp:TextBox ID="TG_KETTHUC" runat="server" CssClass="smallinput" ClientIDMode="Static"></asp:TextBox>
              
          </span> </p>


        <p>
          <label>Tỉnh/ thành phố</label>
          <span class="formwrapper">
              <asp:DropDownList ID="TINH_TP" runat="server" CssClass="chzn-select" ClientIDMode="Static" Width="350px"></asp:DropDownList>
          </span> </p>
           <p>
          <label>Điểm nổi bật</label>
          <span class="field">
              <asp:TextBox ID="DIEM_NOI_BAT" runat="server" TextMode="MultiLine" ClientIDMode="Static"></asp:TextBox>
          </span> </p>


          <p>
          <label>Điều kiện áp dụng</label>
          <span class="field">
             <asp:TextBox ID="DIEU_KIEN_AP_DUNG" runat="server" TextMode="MultiLine" ClientIDMode="Static"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Vui lòng điền tên" ControlToValidate="DIEU_KIEN_AP_DUNG" Display="Dynamic" ForeColor="Red"></asp:RequiredFieldValidator>
          </span> </p>

        <p class="stdformbutton">
          <asp:Button ID="btn_Insert" runat="server" Text="Thêm mới" CssClass="submit radius2" OnClick="btn_Insert_Click" />
          <input class="reset radius2" type="reset" value="Hủy bỏ" onclick="parent.location = 'LoaiSP_Insert.aspx'">
        </p>
      </form>
    </div>
    <!--subcontent--> 
    
  </div>
  <!--contentwrapper--> 
  
</div>

</asp:Content>
